package org.he.auth.service.impl;

import org.he.auth.domain.Menu;
import org.he.auth.domain.RoleMenu;
import org.he.auth.mapper.MenuMapper;
import org.he.auth.service.IRoleMenuService;
import org.he.basic.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author he
 * @since 2023-12-02
 */
@Service
public class RoleMenuServiceImpl extends BaseServiceImpl<RoleMenu> implements IRoleMenuService {
    @Autowired
    private MenuMapper menuMapper;

    @Override
    public List<Menu> queryMenuTree(Long id) {
        return menuMapper.queryMenuTree(id);
    }
}
